package com.ztgf.order.models.vo.purchase;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 采购信息表VO
 *
 * @author mxli
 * @Date 2021-05-17 10:15:52
 */
@Data
public class PurchaseInfoExportVO implements Serializable {
    @ApiModelProperty(value = "询价单发布用户名称")
    @Excel(name = "询价单发布用户名称")
    private String createUserName;
    @ApiModelProperty(value = "询价单编号")
    @Excel(name = "询价单编号")
    private Long purchaseId;
    @ApiModelProperty(value = "询价单名称")
    @Excel(name = "询价单名称")
    private String name;
    @ApiModelProperty(value = "询价单发布时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Excel(name = "询价单发布时间")
    private String createTimeStr;
    @ApiModelProperty(value = "询价单有效期")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiredTime;
    @Excel(name = "询价单有效期")
    private String expiredTimeStr;
    @ApiModelProperty(value = "询价单结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @Excel(name = "询价单结束时间")
    private String endTimeStr;
    @ApiModelProperty(value = "品牌名称")
    @Excel(name = "品牌名称")
    private String brandName;
    @ApiModelProperty(value = "商品名称")
    @Excel(name = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "规格型号")
    @Excel(name = "规格型号")
    private String specificationModel;
    @ApiModelProperty(value = "需求数量")
    @Excel(name = "需求数量")
    private Integer num;
    @ApiModelProperty(value = "是否接受预售")
    @Excel(name = "是否接受预售")
    private String presaleStatusStr;
    @ApiModelProperty(value = "预售首款比例")
    @Excel(name = "预售首款比例")
    private BigDecimal fristScale;
    @ApiModelProperty(value = "质保时间：单位月")
    @Excel(name = "质保期/月")
    private Integer warranty;
    @ApiModelProperty(value = "预计收货时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date receiveExpectedTime;
    @Excel(name = "预计收货时间")
    private String receiveExpectedTimeStr;
    @ApiModelProperty(value = "收货人")
    @Excel(name = "收货人")
    private String receiveName;
    @ApiModelProperty(value = "收货电话")
    @Excel(name = "收货电话")
    private String receiveMobile;
    @ApiModelProperty(value = "收货人区域id")
    private Long receiveAreaId;
    @ApiModelProperty(value = "收货区域")
    @Excel(name = "收货区域")
    private String receiveAreaName;
    @ApiModelProperty(value = "收货详细地址")
    @Excel(name = "收货详细地址")
    private String receiveAddress;
    @ApiModelProperty(value = "询价单备注")
    @Excel(name = "询价单备注")
    private String remark;
    //    之前买家---------之后卖家
    @ApiModelProperty(value = "报价商家")
    @Excel(name = "报价商家")
    private String sendShopName;
    @ApiModelProperty(value = "卖家品牌名称")
    @Excel(name = "卖家品牌名称")
    private String brandNameSell;
    @ApiModelProperty(value = "卖家规格型号")
    @Excel(name = "卖家规格型号")
    private String specificationModelSell;
    @ApiModelProperty(value = "现货/预售")
    @Excel(name = "现货/预售")
    private String presaleStatusSellStr;
    @ApiModelProperty(value = "第一次报价")
    @Excel(name = "第一次报价")
    private BigDecimal onePrice;
    @ApiModelProperty(value = "买家发起议价")
    @Excel(name = "买家发起议价")
    private BigDecimal oneBargainPrice;
    @ApiModelProperty(value = "第二次报价")
    @Excel(name = "第二次报价")
    private BigDecimal twoPrice;
    @ApiModelProperty(value = "申请平台砍价")
    @Excel(name = "申请平台砍价")
    private BigDecimal platBargainPrice;
    @ApiModelProperty(value = "砍价后报价")
    @Excel(name = "砍价后报价")
    private BigDecimal threePrice;
    @ApiModelProperty(value = "发货时间")
    @Excel(name = "发货时间/天")
    private Integer sendDays;
    @ApiModelProperty(value = "备货时间")
    @Excel(name = "备货时间/天")
    private Integer stockDays;
    @ApiModelProperty(value = "发货区域id")
    private Long sendAreaId;
    @ApiModelProperty(value = "发货地址")
    @Excel(name = "发货地址")
    private String sendAddress;
    @ApiModelProperty(value = "卖家首款比例")
    @Excel(name = "卖家首款比例")
    private BigDecimal fristScaleSell;
    @ApiModelProperty(value = "卖家尾款比例")
    @Excel(name = "卖家尾款比例")
    private BigDecimal finalScale;
    @ApiModelProperty(value = "质保时间：单位月")
    @Excel(name = "卖家质保期/月")
    private Integer warrantySell;
    @ApiModelProperty(value = "加入购物车状态：0未加入、1已加入")
    @Excel(name = "加入购物车")
    private String shoppingCartStatusStr;
    @ApiModelProperty(value = "是否下单：0未下单、1下单")
    @Excel(name = "立即下单")
    private String buyStatusStr;
    @ApiModelProperty(value = "询价单状态：0报价中、1报价结束、2取消报价、3流标")
    @Excel(name = "询价单状态")
    private String bargainStatusStr;
    @ApiModelProperty(value = "询价单主办人")
    @Excel(name = "询价单主办人")
    private String organiserUserName;

//    -------------------------------------------------------------------------------------


//    @ApiModelProperty(value = "更新人名字")
//    private String updateUserName;
//    @ApiModelProperty(value = "店铺id")
//    private Long shopId;
//    @ApiModelProperty(value = "发布类型 0买家发布、1admin发布，2admin代客发布")
//    private Integer publishType;
//
//    @ApiModelProperty(value = "是否删除 0未删除、1删除")
//    private Integer delFlag;
//    @ApiModelProperty(value = "是否同意平台修改 0不同意、1同意")
//    private Integer acceptEditStatus;
//
//    @ApiModelProperty(value = "查看时间")
//    private Date lookTime;
//    @ApiModelProperty(value = "取消类型、参考数据字典")
//    private Integer cancelType;
//    @ApiModelProperty(value = "取消说明")
//    private String cancelDescription;
//    @ApiModelProperty(value = "主办人id")
//    private Long organiserUserId;
//
//    @ApiModelProperty(value = "主办人修改状态：0未修改、1已修改")
//    private Integer organiserUpdateStatus;
//    @ApiModelProperty(value = "取消按钮显示状态：0取消、1结束")
//    private Integer cancelButtonStatus;
//
//
//    @ApiModelProperty(value = "商品id")
//    private Long commodityId;
//    @ApiModelProperty(value = "商品url")
//    private String commodityUrl;
//    @ApiModelProperty(value = "商品logourl")
//    private String commodityLogoUrl;
//    @ApiModelProperty(value = "品牌id")
//    private Long brandId;
//
//    @ApiModelProperty(value = "类型 0虚拟商品、1平台商品")
//    private Integer type;
//
//
//    @ApiModelProperty(value = "尾款比例")
//    private BigDecimal finalScale;
//
//
//
//    @ApiModelProperty(value = "商品类型 0现货、1预售")
//    private Integer commodityType;
//    @ApiModelProperty(value = "商品类型 0上架商品、1未上架商品")
//    private Integer commodityPublishType;
//
//
//    @ApiModelProperty(value = "报价首款比例")
//    private BigDecimal bargainFristScale;


//    @ApiModelProperty(value = "单价")
//    private BigDecimal price;
//    @ApiModelProperty(value = "收货人")
//    private String sendName;
//    @ApiModelProperty(value = "收货人电话")
//    private String sendMobile;
//    @ApiModelProperty(value = "收货人区域")
//    private Long sendAreaId;
//    @ApiModelProperty(value = "收货人地址")
//    private String sendAddress;
//
//
//    @ApiModelProperty(value = "平台砍价状态：0未申请，1申请中、2申请成功、3申请失败、4平台已协商")
//    private Integer platBargainStatus;
//    @ApiModelProperty(value = "平台砍价支付状态：0未支付，1支付中、2支付成功、3支付失败")
//    private Integer platBargainPayStatus;
//    @ApiModelProperty(value = "拒绝报价：0不拒绝，1拒绝")
//    private Integer refuseBargainStatus;
//
//
//
//    @ApiModelProperty(value = "第一次议价")
//    private BigDecimal twoBargainPrice;
//
//    @ApiModelProperty(value = "维持原价状态：0未维持、1已维持")
//    private Integer oldPriceStatus;
//    @ApiModelProperty(value = "接受议价状态：0未接受、1已接受")
//    private Integer acceptPriceStatus;
//    @ApiModelProperty(value = "报价次数：1次报价、2次报价、3次报价")
//    private Integer bargainPriceTimes;
//    @ApiModelProperty(value = "待报价次数：1次报价、2次报价")
//    private Integer waitBargainPriceTimes;
//
//    @ApiModelProperty(value = "申请平台砍价服务费")
//    private BigDecimal purchaseFeeMoney;
//    @ApiModelProperty(value = "平台砍价服务费根据商品扣除")
//    private BigDecimal purchaseFeeMoneyScale;
//    @ApiModelProperty(value = "单商品砍价成功后的服务费")
//    private BigDecimal purchaseFeeMoneyScalePrice;
//    @ApiModelProperty(value = "询价商品佣金")
//    private BigDecimal purchaseDividendScale;

}
